setSearchableInfo

open fun setSearchableInfo(searchable: SearchableInfo)(source)

Sets the SearchableInfo for this SearchView. Properties in the SearchableInfo are used to display labels, hints, suggestions, create intents for launching search results screens and controlling other affordances such as a voice button.

Parameters

searchable

a SearchableInfo can be retrieved from the SearchManager, for a specific activity or a global search provider.